package easymall.service;

import java.util.List;

import easymall.po.Order;
import easymall.po.OrderItem;
import easymall.pojo.MyPage;

public interface OrderService {
	public void addOrder(String cartIds, Order order);
	public List<Order> findOrderByUserId(Integer user_id);
	public List<OrderItem> getOrderItemsByOrderId(String order_id);
	public void delOrder(String id);
	public void payOrder(String id);
	public void confirmOrder(String id);
	public void sendOrder(Order order);
	
	
	public List<Order> getOrdersByPage(Integer page); //查询所有订单
	public int totalPage(); //获取总的页数
	public Order getOrderById(String id);//根据订单号获取订单信息
	public List<Order> findAllOrders();
}
